package com.xinke.module.system.model.vo.user;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 角色和菜单关联新增/修改 Request VO")
@Data
public class RoleMenuSaveReqVO {

    @Schema(description = "自增编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "23685")
    private Long roleMenuId;

    @Schema(description = "角色ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "15774")
    @NotNull(message = "角色ID不能为空")
    private Long roleId;

    @Schema(description = "菜单ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "19275")
    @NotNull(message = "菜单ID不能为空")
    private Long menuId;

}